package com.scu.bank.model.base;

import tk.mybatis.mapper.entity.Example;

import java.util.List;

public interface BaseService<T> {
    int save(T entity);
    int update(T entity);
    int updateByPrimaryKeySelective(T entity);
    int deleteById(String id);
    int deleteByIds(List<String> ids);
    T getById(String id);
    List<T> selectByExample(Object example);
}
